<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" />
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
<script src="/soundmanagerv/script/soundmanager2.js"></script>
</head>
<body>
<!-- Home -->
<div data-role="page" id="page1">
    <div data-theme="a" data-role="header">
        <a data-role="button" href="javascript:goback();" class="ui-btn-left">
            返回
        </a>
        <h3>
            待拣货列表
        </h3>
    </div>
    <div data-role="content">
        <?php foreach($this->list as $item){ ?>
        <ul data-role="listview" data-divider-theme="e" data-inset="true">
            <li data-role="list-divider" role="heading">
                <?php echo $item->ExpressBy!=null?$item->ExpressBy->name:"";?>   <span style="float:right;"><?php echo $item->UserCity?$item->UserCity->name:"";?>
            </li>
            <li data-theme="c">
                <a href="javascript:goscan(<?php echo $item->id;?>);">
                    	<?php echo $item->billNo;?>--- 
					<span style="text-align:center;">
                        <?php echo $item->consignee;?>
                    </span>
                    <span class="ui-li-count">
                        <?php echo $item->user->storeno;?>
                    </span>
                </a>
            </li>
        </ul>
        <?php } ?>
    </div>
</div>
</body>
<script type="text/javascript">
    function goscan(id){
        location.href='/admini/managewaybill/picking/id/'+id;
    }
    function goback(){
        window.location.href="/admini/managelogin/tabletlist";
    }
</script>
</html>

